package com.woniu.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 用户对象
 * @author tarnett
 */
@Data
@ApiModel("用户对象")
public class User {
    @ApiModelProperty("主键ID")
    private Long id;
    @ApiModelProperty("账户名")
    private String account;
    @ApiModelProperty("密码")
    private String password;
    @ApiModelProperty("真实姓名")
    private String realname;
    @ApiModelProperty("身份证号码")
    private String cardId;
    @ApiModelProperty("手机号码")
    private String phone;
    @ApiModelProperty("状态（用户状态(0：停用 1：启用(默认))）")
    private String status;
    @ApiModelProperty("用户类别(0:系统用户(默认) 1：平台用户)")
    private String type;
    @ApiModelProperty("用户头像")
    private String avatar;
    @ApiModelProperty("第三方授权ID")
    private String openId;
}
